package org.libl.domain;

import lombok.*;

import java.io.Serializable;

/**
 * 定义一个javaBean类
 * lombok技术:简化 javaBean代码的书写
 */

@Data //替代javaBean的getter/setter方法,toString()方法
@NoArgsConstructor//替代javaBean的无参数的构造方法
@AllArgsConstructor//替代javaBean的全称参数的构造方法
public class Admin implements Serializable {
    private String id;
    private String username;
    private String password;

    /*public String getId(){
        return id;
    }

    public void setId(String id){
        this.id = id;
    }

    public String getUsername(){
        return username;
    }

    public void setUsername(String username){
        this.username = username;
    }

    public String getPassword(){
        return password;
    }

    public void setPassword(String password){
        this.password = password;
    }*/
}
